package model

type Book struct {
	Id       int     //必须
	BookName string  //必须
	Price    float64 //非必须
}

func (this *Book) Builder(id int, name string) *BookBuilder {
	return NewBookBuilder(id, name)
}

func (this *Book) GetInfo() string {
	return "book"
}
